package com.lqfan.autoAnswerQ.dao.subjectType;

import com.lqfan.autoAnswerQ.model.subjectType.SubjectType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zml
 * @since 2020-05-03
 */
@Mapper
public interface SubjectTypeMapper extends BaseMapper<SubjectType> {

    @Select("select score from subjectType where id =#{SubjectTypeId}")
    long getScore(Integer SubjectTypeId);
}
